home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1434_fatal_signal_11.rtf < prev    next >
Text File  |  1993-11-08  |  2KB  |  42 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;\f3\fmodern Ohlfs;}
  2. \paperw13040
  3. \paperh10800
  4. \margl120
  5. \margr120
  6. {\colortbl;\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc0\cf0 Q:  I'm getting the following error message from the C++ compiler:\
  8. \
  9.  
  10. \pard\tx620\tx1240\tx1860\tx2480\tx3100\tx3720\tx4340\tx4980\tx5600\tx6220\f1\fs24\fc1\cf1         cc++: Internal compiler error.  Program collect got fatal signal 11.\
  11.  
  12. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\fs28\fc0\cf0 \
  13. What's going on?\
  14. \
  15. A:  You have encountered a known bug in the C++ compiler. 
  16. \fc1\cf1 The bug has been fixed in Release 3.1. This is a bug in the program 
  17. \b collect
  18. \b0  that relates to the use of alloca.  Essentially, the program 
  19. \b collect
  20. \b0  runs out of stack when "collecting" your application, causing it to crash.\
  21. \
  22. There is a workaround. Just increase the stacksize in the shell.  Use the 
  23. \b limit
  24. \b0  command to increase your stacksize.  Like this:\
  25. \
  26.  
  27. \f1\fs24     % limit stacksize 10000
  28. \f0\fs28 \
  29. \
  30. In Release 1 this workaround always works.  However, in Release 2 this workaround does not work when used with the 
  31. \b make
  32. \b0  utility.  
  33. \b make
  34. \b0  hardwires the stacksize rather than reading it from the users default.  So, in Release 2 or later (unless you have 3.1 or later, in which this bug is fixed) you must link by hand, or write a little shell script to do it for you.\
  35. \
  36. QA629\
  37. \
  38. Valid for 2.0, 3.0 ONLY\
  39. Not Valid for 3.1\
  40. \
  41.  
  42.